package com.winit.schedule.core.repository.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by jianke.zhang on 2017/3/21.
 */
public class WhiteListEntity implements Serializable {
    private Long id;

    /**
     * 白名单
     */
    private String ipaddress;

    /**
     * 有效期的截止时间，不填写表示永久有效
     */
    private Date cutOffTime;

    /**
     * 是否远程调用uschedule接口的黑白名单
     */
    private boolean remoteCall = false;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIpaddress() {
        return ipaddress;
    }

    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress;
    }

    public Date getCutOffTime() {
        return cutOffTime;
    }

    public void setCutOffTime(Date cutOffTime) {
        this.cutOffTime = cutOffTime;
    }

    public boolean getRemoteCall() {
        return remoteCall;
    }

    public void setRemoteCall(boolean remoteCall) {
        this.remoteCall = remoteCall;
    }
}
